/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "财务汇总主表_新能源车",TableName = "cw_djlc_cwzb_newenergy_view")]
    public partial class cw_djlc_cwzb_newenergy_view:BaseEntity
    {
        /// <summary>
       ///关键词
       /// </summary>
       [Display(Name ="关键词")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       [Editable(true)]
       public string vehiclekeyword { get; set; }

       /// <summary>
       ///产品_销售关键词
       /// </summary>
       [Display(Name ="产品_销售关键词")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string sale_keyword { get; set; }

       /// <summary>
       ///产品描述
       /// </summary>
       [Display(Name ="产品描述")]
       [MaxLength(1000)]
       [Column(TypeName="varchar(1000)")]
       public string product_desc { get; set; }

       /// <summary>
       ///产品_销售渠道
       /// </summary>
       [Display(Name ="产品_销售渠道")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string djlc_salechannel { get; set; }

       /// <summary>
       ///产品_车型种类
       /// </summary>
       [Display(Name ="产品_车型种类")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string djlc_vehicletype { get; set; }

       /// <summary>
       ///产品_驱动类型
       /// </summary>
       [Display(Name ="产品_驱动类型")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string djlc_drivetype { get; set; }

       /// <summary>
       ///产品_燃料类型
       /// </summary>
       [Display(Name ="产品_燃料类型")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string djlc_fuel { get; set; }

       /// <summary>
       ///产品_驾驶室平台
       /// </summary>
       [Display(Name ="产品_驾驶室平台")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string djlc_pilothouse { get; set; }

       /// <summary>
       ///整车头物料号
       /// </summary>
       [Display(Name ="整车头物料号")]
       [MaxLength(36)]
       [Column(TypeName="varchar(36)")]
       public string materialnum { get; set; }

       /// <summary>
       ///BOM材料成本
       /// </summary>
       [Display(Name ="BOM材料成本")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       public decimal? totalprice { get; set; }

       /// <summary>
       ///降幅金额
       /// </summary>
       [Display(Name ="降幅金额")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       public decimal? decreasePrice { get; set; }

       /// <summary>
       ///返利金额
       /// </summary>
       [Display(Name ="返利金额")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       public decimal? rabatePrice { get; set; }

       /// <summary>
       ///单车降本
       /// </summary>
       [Display(Name ="单车降本")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       public decimal? dcjb { get; set; }

       /// <summary>
       ///降本率（%）
       /// </summary>
       [Display(Name ="降本率（%）")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       public decimal? jbl { get; set; }

       /// <summary>
       ///降本后材料成本
       /// </summary>
       [Display(Name ="降本后材料成本")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       public decimal? jbhclcb { get; set; }

       /// <summary>
       ///直接人工
       /// </summary>
       [Display(Name ="直接人工")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? artificial { get; set; }

       /// <summary>
       ///变动动力费
       /// </summary>
       [Display(Name ="变动动力费")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? changepowercost { get; set; }

       /// <summary>
       ///变动辅材
       /// </summary>
       [Display(Name ="变动辅材")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? changematerials { get; set; }

       /// <summary>
       ///变动废维修及工
       /// </summary>
       [Display(Name ="变动废维修及工")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? changemaintenance { get; set; }

       /// <summary>
       ///销售提成
       /// </summary>
       [Display(Name ="销售提成")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? salescommission { get; set; }

       /// <summary>
       ///整车物流费
       /// </summary>
       [Display(Name ="整车物流费")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? vehiclelogisticsfee { get; set; }

       /// <summary>
       ///三包服务费
       /// </summary>
       [Display(Name ="三包服务费")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? sanbaoserviceFee { get; set; }

       /// <summary>
       ///研发费用
       /// </summary>
       [Display(Name ="研发费用")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? development_expense { get; set; }

       /// <summary>
       ///联合通
       /// </summary>
       [Display(Name ="联合通")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? lianhetong { get; set; }

       /// <summary>
       ///税金
       /// </summary>
       [Display(Name ="税金")]
       [DisplayFormat(DataFormatString="38,6")]
       [Column(TypeName="decimal")]
       public decimal? shuijin { get; set; }

       /// <summary>
       ///0边际成本未税
       /// </summary>
       [Display(Name ="0边际成本未税")]
       [Column(TypeName="numeric")]
       public decimal? zerobianjiweishui { get; set; }

       /// <summary>
       ///0边际成本含税
       /// </summary>
       [Display(Name ="0边际成本含税")]
       [Column(TypeName="numeric")]
       public decimal? zerobianjihanshui { get; set; }

       /// <summary>
       ///边际-未税
       /// </summary>
       [Display(Name ="边际-未税")]
       [Column(TypeName="numeric")]
       public decimal? bianjiweishui { get; set; }

       /// <summary>
       ///经营底价-含税
       /// </summary>
       [Display(Name ="经营底价-含税")]
       [Column(TypeName="numeric")]
       public decimal? jydjhanshui { get; set; }

       /// <summary>
       ///标准出厂价
       /// </summary>
       [Display(Name ="标准出厂价")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? factoryprice { get; set; }

       /// <summary>
       ///推算指导价
       /// </summary>
       [Display(Name ="推算指导价")]
       [Column(TypeName="numeric")]
       public decimal? jyccj { get; set; }

       /// <summary>
       ///实际边际-未税
       /// </summary>
       [Display(Name ="实际边际-未税")]
       [Column(TypeName="numeric")]
       public decimal? shijibianjiweishui { get; set; }

       /// <summary>
       ///实际经营底价-含税
       /// </summary>
       [Display(Name ="实际经营底价-含税")]
       [Column(TypeName="numeric")]
       public decimal? shiji_jydjhanshui { get; set; }

       /// <summary>
       ///无动力底盘价格经营底价-不含底托
       /// </summary>
       [Display(Name ="无动力底盘价格经营底价-不含底托")]
       [Column(TypeName="numeric")]
       public decimal? wdldp_jydj_buhandituo { get; set; }

       /// <summary>
       ///无动力底盘经营底价-含底托
       /// </summary>
       [Display(Name ="无动力底盘经营底价-含底托")]
       [Column(TypeName="numeric")]
       public decimal? wdldp_jydj_handituo { get; set; }

       /// <summary>
       ///电池价格-含税
       /// </summary>
       [Display(Name ="电池价格-含税")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       public decimal? battery_assembly_totalprice { get; set; }

       /// <summary>
       ///上框架-含税
       /// </summary>
       [Display(Name ="上框架-含税")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       public decimal? battery_frame_totalprice { get; set; }

       /// <summary>
       ///底托-含税
       /// </summary>
       [Display(Name ="底托-含税")]
       [DisplayFormat(DataFormatString="38,8")]
       [Column(TypeName="decimal")]
       public decimal? battery_tray_totalprice { get; set; }

       /// <summary>
       ///无电池和框架，含底托-不含税
       /// </summary>
       [Display(Name ="无电池和框架，含底托-不含税")]
       [Column(TypeName="numeric")]
       public decimal? wdchkj_handituo_buhanshui { get; set; }

       /// <summary>
       ///无电池和框架，不含底托-不含税
       /// </summary>
       [Display(Name ="无电池和框架，不含底托-不含税")]
       [Column(TypeName="numeric")]
       public decimal? wdchkj_buhandituo_buhanshui { get; set; }

       /// <summary>
       ///渠道定价规则id
       /// </summary>
       [Display(Name ="渠道定价规则id")]
       [Column(TypeName="uniqueidentifier")]
       public Guid? cw_djlc_qddjgz_id { get; set; }

       /// <summary>
       ///定价流程主表id
       /// </summary>
       [Key]
       [Display(Name ="定价流程主表id")]
       [Column(TypeName="uniqueidentifier")]
       [Required(AllowEmptyStrings=false)]
       public Guid cw_djlc_djzb_id { get; set; }

       /// <summary>
       ///财务变动取值主表id
       /// </summary>
       [Display(Name ="财务变动取值主表id")]
       [Column(TypeName="uniqueidentifier")]
       public Guid? cw_djlc_cwzb_id { get; set; }

       /// <summary>
       ///新BOM编号
       /// </summary>
       [Display(Name ="新BOM编号")]
       [MaxLength(100)]
       [Column(TypeName="varchar(100)")]
       public string newbomnumber { get; set; }

       /// <summary>
       ///边际率（%）
       /// </summary>
       [Display(Name ="边际率（%）")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? marginalrate { get; set; }

       /// <summary>
       ///渠道
       /// </summary>
       [Display(Name ="渠道")]
       [MaxLength(50)]
       [Column(TypeName="varchar(50)")]
       public string channelname { get; set; }

       /// <summary>
       ///促销
       /// </summary>
       [Display(Name ="促销")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? promotion { get; set; }

       /// <summary>
       ///商务
       /// </summary>
       [Display(Name ="商务")]
       [DisplayFormat(DataFormatString="16,6")]
       [Column(TypeName="decimal")]
       public decimal? businesspercent { get; set; }

       /// <summary>
       ///状态
       /// </summary>
       [Display(Name ="状态")]
       [Column(TypeName="int")]
       public int? status { get; set; }

       /// <summary>
       ///BOM编号
       /// </summary>
       [Display(Name ="BOM编号")]
       [MaxLength(255)]
       [Column(TypeName="varchar(255)")]
       public string bomnumber { get; set; }

       
    }
}